<?php
//=======================================
//###################################
// Kayako Web Solutions
//
// Source Copyright 2001-2004 Kayako Web Solutions
// Unauthorized reproduction is not allowed
// License Number: $%LICENSE%$
// $Author: vshoor $ ($Date: 2005/04/22 08:44:12 $)
// $RCSfile: functions_rss.php,v $ : $Revision: 1.1 $ 
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
//###################################
//=======================================


if (!defined("INSWIFT")) {
	trigger_error("Unable to process $PHP_SELF", E_USER_ERROR);
}

/**
* Send the authentication headers
*/
function authenticateViaHTTP()
{
	global $_SWIFT;
	header('WWW-Authenticate: Basic realm="'. $_SWIFT["language"]["rssfeed"] .'"'); 
	header('HTTP/1.0 401 Unauthorized'); 
	echo $_SWIFT["language"]["rssfeedmsg"];
	exit;
}
?>